#ifndef BIO_PH_NAK_INCLUDED
#define BIO_PH_NAK_INCLUDED 1

#include "kernel/enzyme.hpp"

class NaK : public Enzyme
{
public:
	explicit NaK( lua_State *L );
	virtual ~NaK() throw();
	
	Lua::Function<Real> J;
	
	virtual BIO_PH_ENZYME_CALL();
	
	const string sNa;
	const string sK;
	const Real   C50; //!< half efficiency
	const Real   K50; //!< C50^3
	
	Real  saturation( const Solution &S_in );
	
	Real  drho_dzeta(Real zeta_m,const Cell &cell );
	
	
private:
	YOCTO_DISABLE_COPY_AND_ASSIGN(NaK);
	Real getJ( Real );
};

#endif
